<%-- 
    Document   : banned
    Created on : Dec 20, 2013, 9:40:05 PM
    Author     : Administrator
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>

<html>
    <head>
        <meta charset="utf-8">
        <title>Test Bootstrap</title>
        <link rel="stylesheet" type="text/css" href="/cungonbai/bootstrap/css/bootstrap.min.css">
        <link rel="stylesheet" type="text/css" href="/cungonbai/css/mycss.css">
        <link rel="icon" type="image/x-icon" href="/cungonbai/image/logo.png">
        <script src="/cungonbai/js/jquery-1.10.2.min.js" type="text/javascript"></script>
        <script src="/cungonbai/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Banned Page</title>
    </head>
    <body>
        <c:choose>
            <c:when test="${empty sessionScope.USER and not empty requestScope.MESSAGE_BANNED}">
            <body class="banned-body"></body>
<!--            <h1>Hello ${requestScope.MESSAGE_BANNED}</h1>
            <h1>Your account has been banned ^^</h1>
            Click <a href="Home">Here</a> to return Home Page !!!!!-->
        </c:when>
        <c:otherwise>
            <c:redirect url="Home"/>
        </c:otherwise>
    </c:choose>
</body>
</html>
